package com.tkmybatis.controller;


import com.tkmybatis.entity.CmsStruParam;
import com.tkmybatis.hfy.base.entity.Result;
import com.tkmybatis.service.CmsStruParamService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/cmsStruParam")
public class CmsStruParamController {

    @Autowired
    private CmsStruParamService cmsStruParamService;



    @PostMapping("/insert")
    public Result addCmsStruParam(CmsStruParam cmsStruParam){
       return  cmsStruParamService.addCmsStruParam(cmsStruParam);
    }
}
